let Mock = require('mockjs');
//首页
Mock.mock('/api/home',function() {
    return Mock.mock({
        success:true,
        msg:200,
        data:{
            "city":"重庆",
            "iconList|9":[{
                "desc": "@cname",
                "id": "@id",
                "imgUrl":require('@/assets/images/zxj.png'),
              }],
              "recommendList|3":[{
                "desc": "最美办事处长白山 无邪等你无邪等你无邪等你 ~",
                "id": "@id",
                "title":'长白山一日游',
                "imgUrl":require('@/assets/images/cfj.png'),
              }],
              "weekendList|3":[{
                "desc": "最美老君山最美老君山最美老君山最美老君山",
                "id": "@id",
                "title":'老君山两日游',
                "imgUrl":require('@/assets/images/fzss.png'),
              }],
           
        }
        
    })
})
Mock.mock('/api/city',function(){
  return Mock.mock({
    success:true,
    msg:200,
    data:{
      "hotCities|7":[
        {
          "name": "@city",
           "id": "@id",
        }
      ],
      "city":{
        "A|4":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "B|11":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "C|13":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "D|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "E|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "F|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "G|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "H|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "I|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "J|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "K|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "L|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "M|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "N|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
        "O|7":[
          {
            id:'@id',
            name:'@city'
          }
        ],
      }
    }
  })
})